import axios from "axios";

export const fetchData = async () => {
  // 模拟API数据（实际替换为真实接口）
  return {
    users: 12480,
    orders: 1567,
    revenue: 285430,
    serverLoad: 65,
    dailyOrders: [
      { date: "06-01", count: 120 },
      { date: "06-02", count: 135 },
      { date: "06-03", count: 150 },
      { date: "06-04", count: 125 },
      { date: "06-05", count: 140 },
      { date: "06-06", count: 130 },
      { date: "06-07", count: 155 },
      { date: "06-08", count: 145 },
      { date: "06-09", count: 160 },
      { date: "06-10", count: 150 },
      { date: "06-11", count: 165 },
      { date: "06-12", count: 170 },
    ],
  };
};
